import { AsyncStorage } from "react-native";
export default class DeviceStorage{
	static get(key) {
        return AsyncStorage.getItem(key).then((value) => {
            return JSON.parse(value);
        });
 	}
 	static save(key, value) {
 		return AsyncStorage.setItem(key, JSON.stringify(value));
 	}
 	static remove(key) {
 		return AsyncStorage.removeItem(key);
 	}
}